package com.suneee.quartz;

public class QuartzTest {

	public static void main(String[] args) {
		try {
		      String job_name = "动态任务调度";
		      System.out.println("【系统启动】开始(每1秒输出一次)...");  
		      //QuartzManager.addJob(job_name, QuartzJob.class, "0/1 * * * * ?");  
		      //QuartzManager.addJob(job_name, "", "suneee-order", "suneee-order-trigger", QuartzJob.class, "0/1 * * * * ?");
		      //QuartzManager.addJob(job_name, "suneee-group", "suneee-order", "suneee-order-trigger", SynOrderQuartzJob.class, "0/1 * * * * ?");
		      
		      QuartzManager.startJobs();
		      
			  
		    } catch (Exception e) {
		      e.printStackTrace();
		    }
	}
}
